# -- coding: utf-8 --
# 数组
arr = ['php', 'python', 'java', 'C++'];
for lang in arr:
    print lang.title() + ' is best language in world';
    print 'I sey'
print  'this is all language';

# 使用函数range()
print list(range(2, 11, 2));

# for num in range(1, 9):
#     print  num ** 2;

# 对数字列表执行简单的统计计算
arr = range(1, 9);
print min(arr);
print max(arr);
print sum(arr);

# 数组
arr = ['php', 'python', 'java', 'C++'];
arrs = arr[:];
arrss = arr;
del arr[0];
print arrs;
print arrss;

#元组
test = (500,400);
test[0]=300;
print test
